<template>
	<div id="tad">
		<!-- 视图 -->
		<div class="container">
			<!-- 参加组件缓存  -->
			<!-- include=" 需要缓存的组件 " -->
			<keep-alive include="home,assort,goods_search">
				<router-view />
			</keep-alive>
		</div>
		<!-- 导航 -->
		<div class="tab">
			<!-- 底部栏导航 -->
			<NavView></NavView>
			<!-- 底部栏导航 -->
		</div>
	</div>
</template>

<script>
	// 引入底部栏导航组件
	import NavView from '@/components/NavView.vue'

	export default {
		components: {
			// 注册底部栏导航组件 
			NavView
		}
	}
</script>

<style>
	* {
		margin: 0;
		padding: 0;
		list-style: none;
		text-decoration: none;
	}
</style>
